package com.pap.product.publish.auto.entity;

import java.io.Serializable;

import com.pap.base.entity.PapBaseEntity;
import com.pap.base.mybatis.plugin.annotation.MyBatisColumnAnnotation;
import com.pap.base.mybatis.plugin.annotation.MyBatisTableAnnotation;

@MyBatisTableAnnotation(name = "t_product_publish_detail_area", namespace = "com.pap.product.publish.auto.mapper.ProductPublishDetailAreaMapper", remarks = " 修改点 ", aliasName = "t_product_publish_detail_area t_product_publish_detail_area")
public class ProductPublishDetailArea extends PapBaseEntity implements Serializable {
	/**
	 * 区域省市区编号，三级逗号隔开,所属表字段为t_product_publish_detail_area.AREA_IDS
	 */
	@MyBatisColumnAnnotation(name = "AREA_IDS", value = "t_product_publish_detail_area_AREA_IDS", chineseNote = "区域省市区编号，三级逗号隔开", tableAlias = "t_product_publish_detail_area")
	private String areaIds;

	/**
	 * 区域省市区编码，三级逗号隔开,所属表字段为t_product_publish_detail_area.AREA_CODES
	 */
	@MyBatisColumnAnnotation(name = "AREA_CODES", value = "t_product_publish_detail_area_AREA_CODES", chineseNote = "区域省市区编码，三级逗号隔开", tableAlias = "t_product_publish_detail_area")
	private String areaCodes;

	/**
	 * 区域省市区名称，三级逗号隔开,所属表字段为t_product_publish_detail_area.AREA_NAMES
	 */
	@MyBatisColumnAnnotation(name = "AREA_NAMES", value = "t_product_publish_detail_area_AREA_NAMES", chineseNote = "区域省市区名称，三级逗号隔开", tableAlias = "t_product_publish_detail_area")
	private String areaNames;

	/**
	 * 产品发布的编号,所属表字段为t_product_publish_detail_area.PRODUCT_PUBLISH_ID
	 */
	@MyBatisColumnAnnotation(name = "PRODUCT_PUBLISH_ID", value = "t_product_publish_detail_area_PRODUCT_PUBLISH_ID", chineseNote = "产品发布的编号", tableAlias = "t_product_publish_detail_area")
	private String productPublishId;

	/**
	 * 所属产品的编号,所属表字段为t_product_publish_detail_area.PRODUCT_ID
	 */
	@MyBatisColumnAnnotation(name = "PRODUCT_ID", value = "t_product_publish_detail_area_PRODUCT_ID", chineseNote = "所属产品的编号", tableAlias = "t_product_publish_detail_area")
	private String productId;

	private static final long serialVersionUID = 1L;

	public String getAreaIds() {
		return areaIds;
	}

	public void setAreaIds(String areaIds) {
		this.areaIds = areaIds;
	}

	public String getAreaCodes() {
		return areaCodes;
	}

	public void setAreaCodes(String areaCodes) {
		this.areaCodes = areaCodes;
	}

	public String getAreaNames() {
		return areaNames;
	}

	public void setAreaNames(String areaNames) {
		this.areaNames = areaNames;
	}

	public String getProductPublishId() {
		return productPublishId;
	}

	public void setProductPublishId(String productPublishId) {
		this.productPublishId = productPublishId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	@Override
	public String getDynamicTableName() {
		return "t_product_publish_detail_area";
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", areaIds=").append(areaIds);
		sb.append(", areaCodes=").append(areaCodes);
		sb.append(", areaNames=").append(areaNames);
		sb.append(", productPublishId=").append(productPublishId);
		sb.append(", productId=").append(productId);
		sb.append("]");
		return sb.toString();
	}
}